<template>
	<view class="active-one-lists">
		<view class="active-one-lists-bottom">
			<view class="active-one-lists-bottom-left">
				<image src="/static/image/logo.jpg" mode=""></image>
			</view>
			<view class="active-one-lists-bottom-right">
				<!-- <view class="active-one-lists-bottom-right-title">头道汤·养生馆</view> -->
				<view class="active-one-lists-bottom-right-title flex justify-between">
					<view class="flex">
						头道汤·养生馆
					</view>
					<view v-show="showKm" style="font-size: 22rpx;color: #666666;margin-top: 16rpx;">
						15km
					</view>
				</view>
				<view class="active-one-lists-bottom-right-time">
					按摩头部可以促进我们的大脑放松，压力大
					的时候按摩一下促进脑部血液循环...
				</view>
				<view class="active-one-lists-bottom-right-price flex justify-between">
					<view class="">
						<text style="color: #FF0000;font-size: 30rpx;">￥50/人均</text>
						<text style="color: #999999;font-size: 24rpx;margin-left: 10rpx;">已售60+</text>
					</view>
					<view v-show="showBtn" class="active-one-lists-bottom-right-btnss"
						@click="$helper.to('/pages/tabBar/activity/placeOder/placeOder')">
						立即下单
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			showBtn:{
				type:Boolean,
				default:false
			},//下单按钮
			showKm:{
				type:Boolean,
				default:false
			},//km显示
			shopList: {
				type: Array,
				default () {
					return []
				}
			}
		},
		data() {
			return {

			}
		},
		methods: {}
	}
</script>

<style lang="scss" scoped>
	.active-one-lists-title {
		font-weight: 500;
		font-size: 32rpx;
		color: #000000;
		margin: 20rpx 0 20rpx 20rpx;
	}

	.active-one-lists {
		padding: 20rpx;
		background-color: #fff;
		margin-bottom: 20rpx;
	}

	.active-one-lists-head {
		display: flex;
		justify-content: space-between;
		margin-top: 30rpx;

		.active-one-lists-head-box {
			display: flex;
		}

		.active-one-lists-head-img {
			width: 68rpx;
			height: 68rpx;
			border-radius: 50%;
		}

		.active-one-lists-head-middle {
			margin-left: 10rpx;

			.active-one-lists-head-middle-top {
				display: flex;
				align-items: center;

				.name {
					font-weight: 500;
					font-size: 28rpx;
					color: #333333;
				}

				.girl-img {
					width: 14rpx;
					height: 22rpx;
					margin: 0 10rpx;
				}

				.vip-img {
					width: 44rpx;
					height: 22rpx;
				}
			}

			.active-one-lists-head-middle-bottom {
				font-weight: 400;
				font-size: 20rpx;
				color: #999999;
			}
		}

		.active-one-lists-head-right {
			width: 128rpx;
			height: 50rpx;
			border-radius: 20rpx;
			text-align: center;
			line-height: 50rpx;
			background-color: #000;
			color: #FEC92F;
			font-size: 24rpx;
			margin-right: 10rpx;
		}
	}

	.active-one-lists-contet {
		font-weight: 400;
		font-size: 26rpx;
		color: #000000;
		margin: 16rpx 0;
	}

	.active-one-lists-bottom {
		display: flex;
		position: relative;

		.active-one-lists-bottom-left {
			width: 400rpx;
			height: 250rpx;

			image {
				width: 100%;
				height: 100%;
			}

			.lable {
				position: absolute;
				width: 80rpx;
				height: 36rpx;
				top: 0;
				left: 0;
				color: #fff;
				font-size: 20rpx;
				background-color: #999;
				text-align: center;
			}
		}

		.active-one-lists-bottom-right {
			margin-left: 10rpx;

			.active-one-lists-bottom-right-title {
				font-weight: 500;
				font-size: 30rpx;
				color: #000000;
			}

			.active-one-lists-bottom-right-time {
				align-items: center;
				margin: 10rpx 0;
				display: flex;
				font-size: 24rpx;
				color: #999999;

				image {
					width: 24rpx;
					height: 24rpx;
					margin-right: 10rpx;
				}
			}

			.active-one-lists-bottom-right-btnss {
				width: 156rpx;
				height: 56rpx;
				text-align: center;
				line-height: 56rpx;
				font-size: 24rpx;
				color: #FEC92F;
				background-color: #000;
				border-radius: 20rpx;
			}

			.active-one-lists-bottom-right-address {
				display: flex;
				font-size: 24rpx;
				color: #999999;
				margin: 10rpx 0;

				image {
					width: 24rpx;
					height: 24rpx;
					margin-right: 10rpx;
				}
			}
		}
	}
</style>